<!DOCTYPE>
<html class="reftest-wait">
  <link rel='stylesheet' type='text/css' href='style.css'>
  <script>
    function onloadHandler()
    {
      document.getElementById('e').setCustomValidity('foo');
      document.documentElement.className='';
    }
  </script>
  <body onload="onloadHandler();">
    <fieldset id='e'></fieldset>
  </body>
</html>
